package com.jiayou.im.vo

import com.jiayou.im.entity.Userinfo
import java.io.Serializable

/**
@author 李 双
@data   2020-11-20  12:09
@info
 */
data class Resoult<T>(var code: Int, var data: T?) : Serializable {
    companion object {
        fun success(message: String) = Resoult(200, message)
        fun fail(message: String) = Resoult(201, message)
    }
}